package fhp.hlhj.giantfold.module

import fhp.hlhj.giantfold.interfaces.BaseModuleInterface
import fhp.hlhj.giantfold.javaBean.TagsBean
import fhp.hlhj.giantfold.network.UrlApis

/**
 * Created by Administrator on 2018\3\1 0001.
 */
class TagsModule {
    interface OnTagListener:BaseModuleInterface<TagsBean>


    fun getTag(listener: OnTagListener){
        UrlApis.getTags()
                .doOnSubscribe {

                }
                .subscribe {
                    data->
                    listener.onResp(data)
                }
    }
}